:host {
    ::ng-deep {
        .card-nopd {
            .ant-card-head {
                margin-bottom: 0;
            }

            .ant-card-body {
                padding: 0;
            }
        }

        .menu-card {
            display: flex;
            flex-direction: column;

            .ant-card-body {
                flex: 1;
            }

            .title-buttons {
                button {
                    padding: 0 4px !important;

                    &:not(:first-child) {
                        margin-left: 8px;
                    }
                }
            }

            .menu-tree {
                overflow-x: auto;
                overflow-y: hidden;
                height: 100%;

                .tree-inner {
                    display: inline-block;
                    vertical-align: middle;
                    line-height: 24px;
                    padding: 0 6px;
                    margin-right: 6px;

                    &.menu-name {
                        border-radius: 2px;
                        transition: background-color 0.3s;

                        &:hover {
                            background-color: #e6f7ff;
                        }

                        &.active {
                            background-color: #bae7ff;
                        }

                        i {
                            margin-right: 6px;
                        }
                    }

                    &.expand {
                        cursor: default;
                        transition: opacity 0.3s;

                        &.hidden {
                            opacity: 0;
                            visibility: hidden;
                        }

                        >*:not(:first-child) {
                            margin-left: 6px;
                        }
                        
                        i {
                            cursor: pointer;
                            color: #bfbfbf;
                            transition: color 0.3s;

                            &:hover {
                                color: #1890ff;
                            }
                        }
                    }

                    
                }
            }
        }

        form {
            max-width: 480px;

            .label-width {
                width: 96px;
            }
        }
    }
}